package com.he.flyweightmodel.flyweight.concreteflyweiight;

import com.he.flyweightmodel.flyweight.Shap;

/**
 * 不需要共享flyweight的子类
 */
public class NoColorShap extends Shap {

    public NoColorShap(String color) {
        super(color);
    }

    @Override
    public void color() {
        throw new AssertionError("不实现内部接口的shap子类");
    }
}
